package com.xiao.hao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiao.hao.constant.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Description 用户用药计划关联表 实体类层
 * @Author xiaohao
 * @Date 2025-03-04 11:24:49
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "xh_product_user", autoResultMap = true)
public class XhProductUser extends SuperEntity {
    @ApiModelProperty("主键id")
    @TableId("product_user_id")
    private Long id;

    @ApiModelProperty("产品id")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty("用户id")
    @TableField("user_info_id")
    private Long userInfoId;

    @ApiModelProperty("用户档案id")
    @TableField("user_info_file_id")
    private Long userInfoFileId;

}



